package com.fanxing.generics;

public class Test07 {

    public static void main(String[] args) {
        G10<A1> g1 = new G10<>();
        show(g1);
        G10<A2> g2 = new G10<>();
        show(g2);
        G10<String> g3 = new G10<>();
        // show(g3);
    }

    public static void show(G10<? super A2> g10){

    }
}

class G10<T>{

}

class A1 {

}

class A2 extends A1{

}

class A3 extends A2{

}
